

#import <Foundation/Foundation.h>

@interface NSDate (SJ)
- (NSInteger)year;
- (NSInteger)month;
- (NSInteger)day;
- (NSInteger)hour;
- (NSInteger)minute;
- (NSInteger)second;
- (BOOL)isToday;
- (NSString *)formatToString;
- (NSString *)formatToStringHHmmss;
- (NSDate *)formatToDate:(NSString *)strDate;
+ (NSDate *)backslashFormatToString:(NSString *)strDate;
@end
